package cloud.topdaddy.admin.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 职务
 *
 * @author topdaddy
 * @since 2025-07-01 14:22:43
 */
@Data
@TableName("sys_post")
@Schema(description = "职务")
@EqualsAndHashCode(callSuper = true)
public class SysPost extends Model <SysPost> {

    /**
     * 职务ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "职务ID")
    private Long positionId;

    /**
     * 职务名称
     */
    @Schema(description = "职务名称")
    private String positionName;

    /**
     * 职级
     */
    @Schema(description = "职级")
    private String positionLevel;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 删除标志（0代表存在，1代表删除）
     */
    @Schema(description = "删除标志（0代表存在，1代表删除）")
    private Boolean deletedFlag;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
